<?

session_start();

include_once("../../Misc.php");
include_once("../../classCol/UID.php");
include_once("../../classCol/classOracleDb.php");
require("../models/fetchers.php");

define("_IS_NULL"         , 0);
define("_IS_NO_NUMBER"    , 1);
define("_IS_SER_NUMBER"   , 2);
define("_1ST"             , 0);
define("_2ND"             , 1);

$srcDbModel = "MST_MODEL";

$model      = $_POST["srcModel"];
$modelId    = $_POST["srcModelId"];
$srcDate    = $_POST["srcDate"];
$srcNo      = $_POST["srcNo"];
$srcRef     = $_POST["srcRef"];
$serNumber  = $_POST["serNumber"];


fetchId($COracle,
        $model,
        $modelId,
        $unit,
        $srcDbModel,
        $retId);

?>